package com.suncaper.wcss.service;

import com.suncaper.wcss.model.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.suncaper.wcss.model.vo.StaVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 学校用户白名单设置 服务类
 * </p>
 *
 * @author lxp
 * @since 2021-11-10
 */
public interface UserService extends IService<User> {

    User login(User user);

    void export(HttpServletResponse response, User user);

    Map<String, Object> importUser(MultipartFile file);

    Map<String,List<StaVO>> staByCollege();
}
